package com.ruoyi.alarm.domain;

import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 告警类型对象 alarm_type
 * 
 * @author yepanpan
 * @date 2025-03-10
 */
@Data
public class AlarmType extends BaseEntity
{
    public static final String TYPE_WARNING = "11";
    public static final String TYPE_FAULT = "12";
    public static final String TYPE_EVENT = "13";
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;

    /** 告警代码 */
    @Excel(name = "告警代码")
    private String sysName;
    @NotNull
    private Long sysId;

    /** 告警大类 */
    @Excel(name = "告警大类", dictType="alarm_big_type", comboReadDict=true)
    @NotNull
    private String bigType;

    /** 告警代码 */
    @Excel(name = "告警代码")
    @NotNull
    private String alarmCode;

    /** 告警名称 */
    @Excel(name = "告警名称")
    @NotNull
    private String alarmName;

    /** 告警级别 */
    @Excel(name = "告警级别", dictType="alarm_level", comboReadDict=true)
    @NotNull
    private String level;

    /** 告警事件描述 */
    @Excel(name = "告警事件描述")
    @NotNull
    private String comment;


}
